package com.kawins.supers.upload.core;

public class FileLoadBean {
    private Object fileId;
    private String fileServer;
    private String groupName;
    private String remoteFileName;
    private String fileName;
    private String fileExt;
    private long fileLength;

    public FileLoadBean(String fileServer, String groupName, String remoteFileName) {
        this.fileServer = fileServer;
        this.groupName = groupName;
        this.remoteFileName = remoteFileName;
    }

    public Object getFileId() {
        return fileId;
    }

    public void setFileId(Object fileId) {
        this.fileId = fileId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getRemoteFileName() {
        return remoteFileName;
    }

    public void setRemoteFileName(String remoteFileName) {
        this.remoteFileName = remoteFileName;
    }

    public String getFileServer() {
        return fileServer;
    }

    public void setFileServer(String fileServer) {
        this.fileServer = fileServer;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    public long getFileLength() {
        return fileLength;
    }

    public void setFileLength(long fileLength) {
        this.fileLength = fileLength;
    }

    public String bulidUrl() {
        return fileServer + groupName + "/" + remoteFileName;
    }
}
